﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bdxyit.com.RecruitmentAppSys.IDAL;
using bdxyit.com.RecruitmentAppSys.DALFactory;
using bdxyit.com.RecruitmentAppSys.Models;
using bdxyit.com.RecruitmentAppSys.ViewModels;

namespace bdxyit.com.RecruitmentAppSys.BLL
{
    public class ProfessionalTypeListBLL
    {
        private static readonly IProfessionalTypeListDAL ProfessionalTypeListDal = DataAccess.CreateProfessionalTypeList();
        public static List<ProfessionalTypeList> SelectProfessionalTypeList()
        {
            return ProfessionalTypeListDal.SelectProfessionalTypeList();
        }
      
        public static bool DeleteProfessionalTypeListByProTypeID(string ProTypeID)
        {
            return ProfessionalTypeListDal.DeleteProfessionalTypeList(ProTypeID);
        }
        public static bool InsertProfessionalTypeList(ProfessionalTypeList cmodel)
        {
            return ProfessionalTypeListDal.InsertProfessionalTypeList(cmodel);
        }
        public static bool UpdateProfessionalTypeList(ProfessionalTypeList cmodel)
        {
            return ProfessionalTypeListDal.UpdateProfessionalTypeList(cmodel);
        }


    }
}
